I'm trying to awake somone who is sleeping, after a certain person is dead.
The code looks something like this:
IF
Dead("BadGuy")
StateCheck("GoodGuy",STATE_SLEEPING)
THEN
RESPONSE #100
?????
END
Problem is I can't find a command to wake the GoodGuy up.
Can someone help.
Waking Up
Started by
-Moonfruit-
, Jul 03 2003 10:35 AM
5 replies to this topic
#1 -Moonfruit-
Posted 03 July 2003 - 10:35 AM
#2 -SlidMang0-
Posted 03 July 2003 - 12:43 PM
You have to do it via spell effect, not script action.
#3 -Moonfruit-
Posted 04 July 2003 - 01:36 PM
Could you be a little more specific? I've tried finding a Wake Up effect, but have thus far been unsuccessful.You have to do it via spell effect, not script action.
#4
Posted 06 July 2003 - 01:31 AM
In dltc we had to modify/create a sleep effect that is specifically dispellable.
Sadly the wake opcode (2) which supposed to work, doesn't work at all.
Sadly the wake opcode (2) which supposed to work, doesn't work at all.
Avenger
#5
Posted 06 July 2003 - 01:50 PM
Why not try:
StaticSequence("badguy",SEQ_SLEEP)
SetSequence("badguy",SEQ_AWAKE)
Just set your sequences to whatever animations you want them to have. Here is a test script I have with this in it:
IF
HotKey(D)
THEN
RESPONSE #100
MoveToPointNoInterrupt([1742.1351])
SmallWait(2)
MoveToPointNoInterrupt([1917.1326])
SmallWait(2)
MoveToPointNoInterrupt([1844.1377])
SmallWait(2)
SetSequence(SEQ_CONJURE)
Wait(4)
SetSequence(SEQ_ATTACK_JAB)
Wait(1)
SetSequence(SEQ_CONJURE)
Wait(4)
SetSequence(SEQ_ATTACK_SLASH)
Wait(1)
SetSequence(SEQ_CONJURE)
Wait(4)
SetSequence(SEQ_READY)
END
Cuv
StaticSequence("badguy",SEQ_SLEEP)
SetSequence("badguy",SEQ_AWAKE)
Just set your sequences to whatever animations you want them to have. Here is a test script I have with this in it:
IF
HotKey(D)
THEN
RESPONSE #100
MoveToPointNoInterrupt([1742.1351])
SmallWait(2)
MoveToPointNoInterrupt([1917.1326])
SmallWait(2)
MoveToPointNoInterrupt([1844.1377])
SmallWait(2)
SetSequence(SEQ_CONJURE)
Wait(4)
SetSequence(SEQ_ATTACK_JAB)
Wait(1)
SetSequence(SEQ_CONJURE)
Wait(4)
SetSequence(SEQ_ATTACK_SLASH)
Wait(1)
SetSequence(SEQ_CONJURE)
Wait(4)
SetSequence(SEQ_READY)
END
Cuv
#6 -Moonfruit-
Posted 06 July 2003 - 01:59 PM
Thanx CuvWhy not try:
StaticSequence("badguy",SEQ_SLEEP)
SetSequence("badguy",SEQ_AWAKE)
I'll give it a try and get back to you.