Jump to content
Sign in to follow this  
Ava-anCh3

string names to be called in the game

Recommended Posts

hi all i am currently working on the script however i encounter problems of where to find the string names to be called.

for example for this function

player countUnknown list triggerOne

player is an object however while creating the map i do not know of any directory where i can find all the name for the object in the game.

another example

"SoldierWB" createUnit [getMarkerPos "barracks", groupAlpha]

"SoldierWB" is acutally a string name for the object however too i do not know where to find them.

from the examples i hope that viewers will know what i am trying to say because i have a hard time trying to create spawn units besically because i do not know where to call the names. Please help me or if u have encountered similar problems please tell me how you solve it.

Share this post


Link to post
Share on other sites

The Comref has the string names for every object, near the bottom. If you need to find out the name of an addon object then put this<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hint format ["%1",typeof this]In any objects init line and preview the mission

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  

×