Jump to content
Sign in to follow this  
Somerville

Custom Actions

Recommended Posts

Hi there,

I've got a problem with custom actions. A script I have is set to add the action to a player, called Bob. The layout is something like the following:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_statusbob = bob addAction ["Check Status","status.sqs"];

_otheraction = bob addAction ["Some other action","random.sqs"];

exit

It is called by a check if the unit is alive or not, so that when he respawns he still has his actions. However, when I start the map, he has 3 sets of actions, so about 15 in total when you consider the fact he has 5 actions within his selection.

Help!

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  

×