![]() |
scripting?
Can someone explain how to use and what to use these for?
-Trigger action (I kinda know) -vectorx and y |
triggeraciton is a combination of hitobjects and callnpc or callweapon
It flags a weapon/npc with certain params. NPC Code: And it is interperated from the other npc wich is triggered. If the NPC has pixles near that X and Y you selected (showcharacter i think its can be in 0x0 to 3x3 from there x/y though. not sure, never experimented) so you trigger an NPC with... NPC Code: and the npc there responds when the action is given to it based on what you programed it to do.. such as NPC Code: the flag in the if statement is actionactionname #p(index) is the value of the Param number sent. as in my example. #p(0) = 5 but this isSTRING BASED wich means #p(index) is KINDOF like #s(strname) If you dont want params you STIL MUST INCLUIDE THE COMMA! NPC Code: Get the idea? Vectorx and y Or dirived from something alot of people used for movement. it was originally NPC Code: and it was used to move things like this. NPC Code: But now you can just do NPC Code: |
thanks a lot Falcor :)
|
i still ?
i still dont understand about vecx and vecy what is there purpose ?
|
Re: i still ?
Quote:
its good for like detecting things right infront of the person or right behind the person ect... |
ok
still unsure but ok ...
|
Re: ok
Quote:
NPC Code: that would make the player move the direction he is facing... So if he is facing up it will move him up and if he is facing left it will move him left and same with right and down and so on... |
| All times are GMT +2. The time now is 02:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.