HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Compile Error

07-13-2006, 09:13 AM#1
Pheonix-IV
Oddly enough, this trigger:

Trigger:
Items
Collapse Events
Player - Player 1 (Red) types a chat message containing item as A substring
Collapse Conditions
(Substring((Entered chat string), 1, 4)) Equal to item
Collapse 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