Thread: Waypointing
View Single Post
Re: Waypointing
Old
  (#20)
CrapShoot
A Monkey
 
CrapShoot's Avatar
 
Status: Offline
Posts: 386
Join Date: Jan 2005
Default Re: Waypointing - 15-01-2007

Group ID's are different in ET than they were in RTCW. I guess it gets kind of confusing reading the rtcw tutorial and trying to apply it to ET. I wrote a new goal tracker page more geared for ET here:

http://wiki.bots-united.com/index.ph...t_Goal_Tracker

Groups in ET are a set of actions that can be turned on or off in the aiscript. Rather than having to set their status individually.

Action_Goal is used in ET as Action_Group was used in RTCW.

So to reuse those crypt actions, you would put them into a group and toggle them on and off based on the status of the Gold:

Code:
 action 0 // the gold action test
{
   //gold has been stolen..shift the action to the truck
    if_obj_home_false 0
        deactivateAction_Group 1 //actions by crypt
    if_obj_home_false 0
        activateAction_Group 2 //actions back by the truck

    //gold has been returned...shift action back to crypt
    if_obj_home_true 0
        activateAction_Group 1 //actions by crypt
    if_obj_home_true 0
        deactivateAction_Group 2 //actions back by the truck
}
For the entity numbers, if you can't find them with viewent, The waypoint tool has a bsp reader that you can look through.

I'll see if I can find it a bit later.
  
Reply With Quote