Thanks for that info, neer knew you could pass strings to that command like that. (never thought of it)
Quote:
Originally Posted by Xarslik
I wrote this after I noticed that SPAWN_GROUP and SPAWN_NPC were both broken. The following code will allow you to spawn an npc_type at the specified x, y, z coord and heading.
Insert the following block under the else if block of SPAWN_GROUP in WesQuests.cpp.
Here's an example quest script using this function:
Code:
TRIGGER_TEXT:Bring on the first Challenge:{
SHOUT:Come forth, wolf of the night!
NPCTYPESPAWN 3 1056.52 -45.71 5.00 65.00
}
That will spawn npc_type 3 (Savage Wolf in my case) at the specified location.
|