I think this will work


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by EV on March 13, 1998 at 04:59:16:

In Reply to: Re: Delaying activation of enemy AI...HELP!! posted by EV on March 13, 1998 at 04:44:03:

# try this

symbols

flex times=0

message startup
message pulse

end

code

startup:
SetPulse=1 //not too sure about this
AISetMode(enemy, 0x2000);
return;

pulse:
times = times + 1
If(times == 3)
{
AIClearMode(enemy, 0x2000);
AISetMode(enemy, 0x200);
}
return;

end


Try that. It probably needs something else but it is a base to start from.

EV


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]