Im trying to implement a door that opens at round 30. This is a very original idea and i think its pretty slick. So will there be any messing about with the scripting or is it just basic KVP editing?
P.S If it is possible, please tell me how Thank you
It prob give some issues because you're still using the normal targetname as wel, so the _blockers script will just thread the door_think() function on it from the game start. Try this: just use the targetname - door_thirty_trig and remove the script_string KVP, then use this function in your mapname.gsc like koan suggested:
Code Snippet
Plaintext
butt_stuff() { sef_trig = getEnt("door_thirty_trig","targetname"); sef_trig SetCursorHint("HINT_NOICON"); sef_trig UseTriggerRequireLookAt(); sef_trig SetHintString("Come back at round 30...");
Did you try Stuffy's version? Do you have working doors in the first place?
Doors open perfectly fine, but im not sure where to put the code and i tried putting it as you said and i placed the function but i just get bad syntax when launching the map
Doors open perfectly fine, but im not sure where to put the code and i tried putting it as you said and i placed the function but i just get bad syntax when launching the map
It prob give some issues because you're still using the normal targetname as wel, so the _blockers script will just thread the door_think() function on it from the game start. Try this: just use the targetname - door_thirty_trig and remove the script_string KVP, then use this function in your mapname.gsc like koan suggested:
Code Snippet
Plaintext
butt_stuff() { sef_trig = getEnt("door_thirty_trig","targetname"); sef_trig SetCursorHint("HINT_NOICON"); sef_trig UseTriggerRequireLookAt(); sef_trig SetHintString("Come back at round 30...");