You must be logged in to post messages.
Please login or register

Modding and Scripting
Moderated by Yeebaagooon, TAG, nottud

Hop to:    
Welcome! You are not logged in. Please Login or Register.2 replies
Age of Mythology Heaven » Forums » Modding and Scripting » XS Rules
Bottom
Topic Subject:XS Rules
pftq
Mortal
posted 31 January 2007 11:26 AM EDT (US)         
I was looking over Bloodsport by TOS the other day and noticed he used rules instead of defining seperate triggers.

I'm guessing you can define loop, active, and all in a rule, but I'm not quite sure I understand what is done.

Any RMS scripters still around that can explain this?

AuthorReplies:
nottud
Hero
posted 31 January 2007 01:29 PM EDT (US)     1 / 2       
I noticed that too! I might have a look at his script to see.

I am not sure if he defines loops, probably uses script or fire event to do that. If you get a trigger to fire event itself then it activates.

Condition:

AddTriggerCode("   if (trTime()<BuildEndsAt) {");


I see he can also do conditons with script to.


The boy with the mad imagination
Prepare for the ultimate duel!
Learn to use all my triggers and what you can do with them. Visit here.
Find out and download the transform trigger here.
Play some minigames I have created outside AOM including some 3D games here.

[This message has been edited by nottud (edited 01-31-2007 @ 01:36 PM).]

pftq
Mortal
posted 31 January 2007 09:18 PM EDT (US)     2 / 2       
Erm... yes conditions are nothing new...


If you haven't noticed already, the trigger codes I wrote for you have these "conditions"

(hint: The Random GP has 71 conditions)

[This message has been edited by pftq (edited 01-31-2007 @ 09:18 PM).]

You must be logged in to post messages.
Please login or register

Hop to:    

Age of Mythology Heaven | HeavenGames