![]() |
Triggeraction and replaceani
I completely forgot, could someone give me an example script of each of these commands? Please, thank you.
|
k...
for replaceani
if (playerenters) {replaceani walk,skip_like_a_homo; } that replaces the walking animation with a gani that you named skip_like_a_homo.gani that makes it so if you go to walk, or use setani walk, it will show skip blah blah blah. as for trigger action, it works like this //NPC 1 when it is used as a weapon if (weaponfired) { triggeraction x,y,test(<--this is the action),param; } //NPC 2 (which is on the x,y you supplied if (actiontest) {message Trigger action works...AMAZING!; } in order for it to work, the NPC must be on the right coordinates, and the action needs to correspond(sp) with the a flag in the NPC on those coordinates so if the action is skip, you'd add if (actionskip) { } Then, it should work. Im not very good with these, but that is how it works. |
Thanks!
|
| All times are GMT +2. The time now is 09:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.