View Single Post
  #7  
Old 05-08-2018, 05:48 AM
Oscarmike247 is offline Oscarmike247
Oscarmike247's Avatar
Registered User

Join Date: Feb 2018
Posts: 229

Quote:
Originally Posted by stompem View Post
You could also count when AI respawn (NOTE* for ssndead - use not alive) in a certain area, disappear from an area or are teleported to an area.

I thought about something similar. The problem i found with teleporting dead ai is while it does bring them back to life, they wont shoot at anything after being teleported.

Here is my idea. The only issue is that ill have to do this using med events and it will take a lot of them (2 events per Ai).

Use 2 events and a marker at the bots respawn point.

Event 1: if ssn 'bot' is further than 4m of ssn 'spawn point' and ssn 'bot' is not alive. Then increase var X by 1. And reset event 2

Event 2: if ssn 'bot' is within 4m of ssn 'spawn point' and ssn alive 'bot' then reset event 1


When the bot dies it will increase var x by 1, when it respawns it will reset the event to increase var x the next time it dies. Only problem is i have 20 of these bots. Meaning ill need to make 40 events. Ugh

Ill play around with your ploop idea too. Thanks stomp.
Reply With Quote