simple if $flash wont work... your scripting skill is very bad and I think nobody will help you.
Forum
Stranded II Scripts Stranded II Enhanced + (read last posts)Stranded II Enhanced + (read last posts)
28 repliessimple if $flash wont work... your scripting skill is very bad and I think nobody will help you.
edited 2×, last 10.05.19 07:32:03 pm
then use if $flash == 0
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
on:attack1 { if($flash==0){ skipevent; if(lives("unit",1)==1){ play "dog_bark1.wav"; flash 0,255,0,0.8,1.3; } } }
Anytime a new variable is created in script, that did not exist, it is always set to 0.. So when your map loads the variable does not exist...thus it will equal 0 when requested through script.
You would just need to add $flash==1; to the stranded maps global variables i would think. So when a stranded map loads $flash = 1 and when your map loads $flash does not exist yet. When the script runs the variable $flash will be created at that moment and = 0.
p.s. Pretty cool screens bro I like to see content, it shows your trying.
edited 7×, last 26.04.19 10:13:47 am
ModJuicer has written
I just want to alter a single map, not the entire game.[/code]
place the script JasJack67 posted into an info which you placed in the map.
also copy the rest of the player script from the units.inf into this info (minus the original on:attack1 command!).
in the global script container of the map use addscript to replace the default player behavior with the script which is in the info.
p.s.
Ok now. I'm trying to get everything ready as the release is in 3 days. I'll try to keep you posted
OK. Past the 3 day mark. I will try to get it uploaded ASAP. Hopefully this week
EDIT: Ok, I was in a hurry, but I got the mod uploaded! (at least, the regular, everything on it version)
Enjoy
Stranded II Enhanced +
edited 12×, last 09.05.19 11:32:33 pm
p.s. the maps are somewhat incomplete. I will upload them when they are finished.
I changed the title.
SII Enhanced + Download link
and also, you should download it and try it out. I put days worth of work into it.