Posts
25
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Oil Rig Beta Access |
This is a very original idea
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
Oil Rig Beta Access |
Set up the door as you would normally, make sure the trigger is a trigger_use, then give the trigger the KVP "script_string" / "door_thirty_trig".
In _zombiemode.gsc, at the bottom of the main() function, add:
Then add this new function to the script:
Compile, build mod & play. I'd recommend to test it using a lower round so you don't have to wait until round 30 to test it
I can't be bothered to test this, so let me know if there are any issues/errors.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Oil Rig Beta Access |
Looks pretty slick heh! Testin it out right now, Thanks alot !
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Oil Rig Beta Access |
Could you please clarify where to place the function?
and just give me basic KVP's for the door because my setup is not working, Thank you
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
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: