Home   Help Search Login Register  

Author Topic: Sub Actions  (Read 463 times)

0 Members and 1 Guest are viewing this topic.

GrimMonkey

  • Guest
Sub Actions
« on: 17 Nov 2003, 05:09:51 »
How could one make it so that once you activate a custom action, it opens a menu of other custom actions?

It's probably pretty obvious, but that's me for you.

Thanks in advance.


Beware the GrimMonkey

_hammy_

  • Guest
Re:Sub Actions
« Reply #1 on: 17 Nov 2003, 05:23:20 »
Code: [Select]
;actionparent.sqs
Action1 = player addAction ["Action Parent", "actionsub.sqs"]

exit

Code: [Select]
;actionsub.sqs

player removeAction Action1
ActionSub = player addAction ["Action Sub1", "actionsub2.sqs"]
ActionSub2 = player addAction ["Action Sub2", "actionsub3.sqs"]

exit