Psycho-Noob
New Member
- Reaction score
- 0
So i have a trigger here:
That sets a item created to a item variable and position variable so that: KeyItem[0] would link with Keytemppos[0](hopefully), if that does not work could you please tell me why because i'm still fairly new to mapping : (.(also i should not on map initialisation i set keyint to 0. (keyint is an integer....just to clarify).
I have triggers that after certain events move the key/s to a certain region.
What i want to happen is when a unit enters a certain region, the keys in the region mentioned above will go back to their original places.
Here is my attempt:
And of course it is not working : (.
I'm not sure what is wrong.
Thanks in advance.
)
Trigger:
- Key Placement
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Place Key
- Actions
- Item - Create Gate Key at (Position of (Triggering unit))
- Set KeyItem[KeyInt] = (Last created item)
- Set Keytemppos[KeyInt] = (Position of (Last created item))
- Set KeyInt = (KeyInt + 1)
- Events
That sets a item created to a item variable and position variable so that: KeyItem[0] would link with Keytemppos[0](hopefully), if that does not work could you please tell me why because i'm still fairly new to mapping : (.(also i should not on map initialisation i set keyint to 0. (keyint is an integer....just to clarify).
I have triggers that after certain events move the key/s to a certain region.
What i want to happen is when a unit enters a certain region, the keys in the region mentioned above will go back to their original places.
Here is my attempt:
Trigger:
- Key Respawn
- Events
- Unit - A unit enters Keyreset1 <gen>
- Unit - A unit enters Keyreset2 <gen>
- Unit - A unit enters Keyreset3 <gen>
- Unit - A unit enters Keyreset4 <gen>
- Conditions
- Actions
- Item - Pick every item in KeyRespawn <gen> and do (Actions)
- Loop - Actions
- For each (Integer A) from 1 to 100, do (Actions)
- Loop - Actions
- Item - Move KeyItem[(Integer A)] to (Keytemppos[(Integer A)] offset by 0.00 towards 0.00 degrees)
- Loop - Actions
- For each (Integer A) from 1 to 100, do (Actions)
- Loop - Actions
- Item - Pick every item in KeyRespawn <gen> and do (Actions)
- Events
And of course it is not working : (.
I'm not sure what is wrong.
Thanks in advance.
)