Search found 3 matches
- Thu Jul 25, 2019 7:11 pm
- Forum: Scripting
- Topic: Make an actor stay within the radius of a player?
- Replies: 2
- Views: 212
Re: Make an actor stay within the radius of a player?
Definetily yes, but it depends on pointers relations between player nd mrine lly. For ex. in cse if that marine is player's friendly summon (lets assume tht it was spwned via A_SpawnItemEx(0,0,0,0,0,0,0,SXF_SETMSTER)) then mke some check longside of its See stte: States { See: TNT1 A 0 A_Chase ABCD ...
- Thu Jul 25, 2019 12:59 pm
- Forum: Scripting
- Topic: Make an actor stay within the radius of a player?
- Replies: 2
- Views: 212
Make an actor stay within the radius of a player?
Hi, I am currently working on a marine ally actor which fights alongside you, the problem is that they generally run directly into large groups of monsters without the logic of a player, and as a result die easily. Is there any way to implement code in DECORATE that would make the actor always stay ...
- Mon Mar 04, 2019 5:58 pm
- Forum: Mapping
- Topic: Melee blocking line?
- Replies: 3
- Views: 621
Re: Melee blocking line?
If you are talking about a single linedef, you can use Block Everything to block melee included, however if you want to only block melee you can use acs as well. Make a sector next to the wall and use the map spots Actor Leaves Sector and Actor Enters Sector to activate SetActorProperty scripts for ...