Admit
New Member
- Reaction score
- 25
Im getting errors every time i use the command
Here is the trigger: (im getting errors on other maps too)
The trigger works fine if i remove the "call RemoveLocation (udg_Temp_Point[1])".
Error line's:
Line 94: Invalid argument type (rect)
Line 97: Exepted 'endloop' (rect)
Im using vanilla WE (no Newgen or EGUI)
Trigger:
- call RemoveLocation (udg_Temp_Point[1])
Here is the trigger: (im getting errors on other maps too)
Trigger:
- SetupCards
- Events
- Conditions
- Actions
- Set Temp_Point[1] = UnusedCards <gen>
- For each (Integer A) from 1 to NumberofCards, do (Actions)
- Loop - Actions
- Item - Create Cards[(Integer A)] at (Center of Temp_Point[1])
- Item - Make (Last created item) Invulnerable
- Item - Hide (Last created item)
- Loop - Actions
- Custom script: call RemoveLocation (udg_Temp_Point[1])
The trigger works fine if i remove the "call RemoveLocation (udg_Temp_Point[1])".
Error line's:
Line 94: Invalid argument type (rect)
Line 97: Exepted 'endloop' (rect)
Im using vanilla WE (no Newgen or EGUI)