Posts
31
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. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
Oil Rig Beta Access |
Thank you for replying. player doesn't seem to work either. The function is called by this here:
I'm pretty sure that since bonka is shown, the function is being called correctly. I feel its the SetOrigins themselves or the entities I have in radiant. I gave a script struct the jug_tele targetname and another script struct bar_tele.
i used thread jug_tele(player);, but it still does not work. I thought that maybe changing up the function a bit would work:
still, nothing.
Just in case, here is what i put in radiant. The trigger_damage is targeting that struct with its targetname as jug_tele. The other targeted struct has the targetname bar_tele.
(Image removed from quote.)
hmm, there has been an interesting development. Instead of using a script_struct, I used a script_model as the target. For some reason, it worked and I was teleported. I'll just use models instead of the structs now.
The teleporting script now works, but I have a question about activating the zone that contains the teleporter's target. I added the script_flag kvp to the trigger like you would on doors, but didn't work and i died. How can I go about this in script?