Trigger_script...huh?
CrAcKbRoCk
Join Date: 2002-11-22 Member: 9619Members
<div class="IPBDescription">wth is that thing?!</div> Olla, noob to da boardz here. I was digging into the 'ns.fgd' file seeing what was in there and stumbled onto this:
@PointClass base(Targetname) = trigger_script
[
scriptname(string) : "Script name" : ""
spawnflags(Flags) =
[
1 : "Start on" : 0
]
]
So, is this what I hope it is? Some sort of map scriptting? *crosses fingers* I'm also assumming it was something that is incomplete or removed(ie: env_fog..*sigh* ). Anyways, if anyone has any idea what this thing does let me know please!
@PointClass base(Targetname) = trigger_script
[
scriptname(string) : "Script name" : ""
spawnflags(Flags) =
[
1 : "Start on" : 0
]
]
So, is this what I hope it is? Some sort of map scriptting? *crosses fingers* I'm also assumming it was something that is incomplete or removed(ie: env_fog..*sigh* ). Anyways, if anyone has any idea what this thing does let me know please!
Comments
And yes, it was a feture that was inomplete and didn't make it in.
Or am I wrong again?
Come on, you know you want to tell everybody your secret! Eh? .... Ah well, hrmm..
I'm pretty sure I know what it will do, and if so....WOW, talk about a whole new world of options! Heh, I'm probably wrong though <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
no..... really!
(Yes, all of the mods are being obscure. fun isnt it? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> )
I don't know why noone says what s/he things, but I will do so now.
First I thought it would execute Quake-C scripts like the ones in the events folder, but I don't know... how would it be fired when 'start on' is not set? So it is either a useless entity atm or it does something completely different.
Well, I go and learn Quake-C now and all the Natural-Selection commands for spawning dust clouds or hide structures or teleport players. Wow, that would even include spawning new structures and weapons.
But that sounds like a nice dream and nothing that is going to be reality soon, right?
I also remember that before NS came out I think part of the mapping guidelines mentioned that the marines should be treated to a cutscene of them entering the map, giving the alien players just enough time to reach the marine start (but not enough for them to actually get inside it). This would mean that you could end up seeing skulk rushes 2 seconds into the game on some maps...