http://game.rbkdesign.com/maps/brushbaron_epowc.pk3
It’s very basic right now, just run around and kill the enemies. However, my next version will include a backstory and mission objectives to help the player know where they came from and where they are going. I’ll be adding cinematics too.
I’m having trouble with the scripting though. I can script my AI characters no problem. but I’m trying to trigger a target_relay or target_delay (I’ve tried both) through my script.
In my level.ai file I have this piece of code
level.ai
// ai scripting
// map epowc.map
// 03/11/03 by Reid “BrushBaron” Kimball
//
player
{
spawn
{
print “By Reid ‘BrushBaron’ Kimball”
}
playerstart
{
giveweapon weapon_knife
setarmor 25
setammo ammo_dynamite 2
selectweapon weapon_knife
trigger alliedattack mortars //this is what I want to trigger in my level.script file
}
}
level.script
//
// brush scripting
// Reid “BrushBaron” Kimball
// created on: 03/19/03
// updated on: 03/19/03
//
alliedattack
{
spawn
{
print “script_mortars spawned”
}
trigger mortars
{
print "all_mortars triggered"
alertentity mortars // target_delay entities that will trigger the various shooter_mortar entities
//wait 6000
//trigger alliedattack mortars
}
}
Any help would be appreciated. I’m curious if I need to use accum’s and bit set commands in order to trigger the entities?