Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Compile Error
Compile Error
07-13-2006, 09:13 AM
#1
Pheonix-IV
Oddly enough, this trigger:
Trigger:
Items
Events
Player - Player 1 (Red) types a chat message containing item as A substring
Conditions
(Substring((Entered chat string), 1, 4)) Equal to item
Actions
Set temppoint = (Position of Spawner)
Item - Create (Item-type((Substring((Entered chat string), 6, (Length of (Entered chat string)))))) at temppoint
Custom script: call RemoveLocation(udg_temppoint)
Gives me the compile error "Expected a Name" yet runs completely fine. Strange no?
07-13-2006, 09:38 AM
#2
PipeDream
http://www.wc3campaigns.net/showthread.php?t=75239