-
-
January 3, 2018 at 15:21 #2374
A) If you teleport AI to a vehicle and the vehicle is dead, you will get sysdumped!!!
How to prevent such:
Add ssnalive to create a conditional trigger that includes both the target vehicle and the AI:
if {trigger} AND ssnalive(xxxx) AND ssnalive(yyyyy) enter //one trigger, e.g. a variable, with two conditions
ssn2ssn(xxxx,yyyyy)
ssnuse(xxxx)
endif
B) If you move AI to a vehicle and the vehicle is destroyed when your AI is heading there, your AI will commit suicide!
You need to include ssnalive(yyyyy) and ELSE combined with hold/unhold actions to resolve:
if {condition} AND ssnalive(xxxx) AND ssnalive(yyyyy) enter
unholdssn(xxxx)
ssn2ssn(xxxx,yyyyy)
else
holdssn(xxxx)
endif
Good luck!
PS: If the AI dies when you do not include ssnalive conditions your dead AI will start twitching if the teleport command fires! You can use this glitch as an effect combined with random trigger!
-
June 29, 2021 at 20:05 #3333
do you have a sample map for me .i try but no luck and for me now a little confusing
-
This topic has 2 replies, 3 voices, and was last updated 3 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Latest 10 Comments