OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Ice Man 3:16 on 13 Apr 2004, 00:50:16
-
Ok, im using the zombie pack and i had an idea on how to make the zombies only attack you when you are near by them. You need to use a game logic with "gblAllTargets = [Player]" in the init field to tell them to attack the player.
Is there a way to make the game logic show up when a trigger is activated???? I was thinking about making a trigger so when a player walks into the trigger field the zombies will target him.
-
IM not sure but i hope this has something to do with your needs: -
If you want the game logic to "show up", so when the player uses the map ingame - he / she can see where the GL is..
You can use a marker to show where the gamelogic is.. !
Is this what you were after?
Rhys
-
IM not sure but i hope this has something to do with your needs: -
If you want the game logic to "show up", so when the player uses the map ingame - he / she can see where the GL is..
You can use a marker to show where the gamelogic is.. !
Is this what you were after?
Rhys
no, i don't need the game locic to show up on the map. I need the game logic to become an object, so its non-existant until this trigger is activated.
-
Is there any particular object you want the Game Logic to appear as?
More to the point, do you have a Game Logic on your map at all?
To put it bluntly, I don't see how being able to see the position of a Game Logic will help your zombie decide to attack you.
Planck
-
You dont HAVE to use a gamelogic, the GblAllTargets = [player] can go anywhere, infact, you can put it right in your triggers init field, so when it activates, the zombies will recognize it and attack you
-
You dont HAVE to use a gamelogic, the GblAllTargets = [player] can go anywhere, infact, you can put it right in your triggers init field, so when it activates, the zombies will recognize it and attack you
tryed it, it seems to only work in gamelogic units.... I may be wrong, but it didn't work when i tryed it