View Single Post
Old 10-23-2012, 05:49 PM   #253
Darth Hayze
@Darth Hayze
Darth Hayze's Avatar
Join Date: Oct 2012
Posts: 27
Current Game: Revenge of Revan
Okay, I'm trying to compile this script with a lot of DelayCommand functions, most of them work fine, but the ones that are like this

DelayCommand(0.4, SpawnAvailableNPC(11, GetLocation(GetWaypointByTag("WP_ebon_atton"))));
i.e. spawning a NPC

return this error when compiling "Error: Type mismatch in parameter 2 in call to Delay Command"

at first I thought it might be becuase the problem commands are within if statements, but moving them outside the statement still gives the error. There are other DelayCommands used in this script, and they aren't giving me this error. What gives?

Show spoiler
Darth Hayze is offline   you may: quote & reply,