20 lines
514 B
Plaintext
20 lines
514 B
Plaintext
|
#include "nw_i0_2q4luskan"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oTarget;
|
||
|
object oActor;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Have "Kumal" perform a sequence of actions.
|
||
|
oActor = GetObjectByTag("Kumal");
|
||
|
AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_DEAD_FRONT, 1.0, 4.0));
|
||
|
|
||
|
// Spawn "kumalsbag".
|
||
|
oTarget = GetWaypointByTag("WP_Mv_Kml");
|
||
|
DelayCommand(2.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "kumalsbag", GetLocation(oTarget)));
|
||
|
}
|
||
|
|