Jump to content
Sign in to follow this  
kveldulv_halvard

Changing Respawn locations action menu??

Recommended Posts

Ok guys I am brand new at dipping my hands into coding for A2/OA. I am trying to figure out a way to on a object set with an action menu. For example,

You walk up to a house and when aiming at the house your action menu now pops up with "Save Spawn Location Here" which triggers a script to now allow you to spawn at that location, rather than the default spawn location.

So i guess this is more of a compound coding, one how to get the action menu to pop up when "aiming" at the house, and two how to save that spawn location.

Any ideas?

I know there are multiplue types of respawn sets

respawn_west

respawn_east

respawn_guerrila

respawn_civilian

are what i can find. Maybe first set a marker for "respawn_west" and then on the action menu it changes you from the "west" side to the "guerrilla" side and you begin to respawn at the "respawn_guerrila" marker?

I would prefer this method so that people who do not wish to "respawn" at the house location will be hostile to those using the house as a respawn location and will not have points removed for killing someone who has not chosen to respawn at the house.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×