![]() |
triggeractioning area
How do I make triggeraction hit an entire level?
Sorry for the stupid question. :noob: |
Umm....
for (i=0;i<64*64;i++) { triggeraction(i%64,int(i/64),blahblah); } Or I guess you could loop through all the players/npc's and triggeraction at their x/y, as you won't need to trigger anywhere's else. |
getareanpcs()
triggeraction the x's, or just go through the array and call trigger( "blah", "" ) |
The problem with the ways mentioned here are flawed in the fact that a single NPC may get 2 or more triggers...
|
Yeah, an "AoE" (Area of Effect) triggeraction would be nice :)
|
| All times are GMT +2. The time now is 04:18 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.