(08-20-2014, 04:52 PM)giacomo9 Wrote: I want use this script: void SetEnemyIsHallucination(string& asName, bool abX);
But I don't know what is "string& asName" (It must be "Player" or enemy name?)
"bool abx" is the distance, I know. In quotes I just must to write number?
Or, simpler, can you write a example of this script for me? Thanks
SetEnemyIsHallucination("scary_monster_name", true);
Replace scary monster name with the actual monster's name
A string is a set of characters inside quotation marks (scary_monster_name). It must have the quotes around it.
A bool (boolean) is a set value of true or false, not distance