English Hit script (New Screenhots!)

22 replies
Goto Page
To the start Previous 1 2 Next To the start
25.04.19 09:12:43 pm
Up
Assassin moder
User
Offline Off
@user M3t4l_M0uth: How you even got Super User rank?
simple if $flash wont work... your scripting skill is very bad and I think nobody will help you.
25.04.19 10:53:22 pm
Up
M3t4l_M0uth
Super User
Offline Off
I get it. But anyway, I think I have this covered.

I can live without special effects.


Ok, Here's the screenshots:


IMG:https://www.mediafire.com/convkey/fa63/52l5cxl96wucff66g.jpg


on this is one of my other maps which is not made in titanium:

IMG:https://www.mediafire.com/convkey/9513/8vt2tar5xh272cf6g.jpg
edited 1×, last 26.04.19 03:46:59 am
26.04.19 09:50:24 am
Up
JasJack67
Super User
Offline Off
You could make your standard stranded maps LOAD with a global variable saying $flash==1 so all stranded maps have this variable when stranded loads.

then use if $flash == 0
Code:
1
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
The Survivalist_09-26-18 is now available. DOWNLOAD HERE >The Survivalist 09-26-18 | Performance-In options keep Water Detail off
To the start Previous 1 2 Next To the start