Jump to content

attack script


steve750

Recommended Posts

ive created a base / player hideout and a viper gang camp basically i want to go up a tower and enter a trigger and have the viper gang come running and attack my base, but i just doesnt work.

The gang either allready attacking my base when i arrive or they dont move from their camp, ive tried many different ways of linking the trigger to the gang for example

trigger linked to gang, gang linked to trigger, and same with enable trigger, adding a marker heading (initially disabled) linked to trigger and linking gang to trigger, doing this with enable trigger aswell all with one of the same 2 outcomes really stuck, someone please help me been trying to sort this for days.

this is the script ive attached to the trigger

scn B1AmbushTriggerScript

 

int DoOnce

ref LinkedRef

 

begin OnTriggerEnter player

 

if DoOnce == 0

set LinkedRef to GetLinkedRef

LinkedRef.enable

set DoOnce to 1

endif

 

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...