So, again about mapping, I got interested in scripting to maps nao :P
So I just wnna know if I think right:
I have a trigger pointing at target_scriptrunner.
Now, I have a
func_usable forcefield with script_targetname "myForceField"
door with script_targetname "myTogglableDoor"
I want pressing the button(triggering mah trigger:P) to switch off the forcefield and after a second to toggle the door (for example: open them)
Here is the script:
Code
Affect ( “myForceField”, FLUSH )
{
set("SET_FUNC_USABLE_VISIBLE","true")
}
wait(1000);
Affect ( “myTogglableDoor”, FLUSH )
{
signal ( "signalname" );
}
So, all is about will it work as I described it?^^
I mean mostly the "cignal command. Is it the one that works like trigger signal (so like a trigger pointing at the door just "using" it?)
(and btw, what is this "signalname" for? Just name or defines sth? ^^)
And finally: Can I do it in notepad and call "myScript.icarus"? Will it work?
Thx for help!