HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help

12-06-2004, 01:58 AM#1
Guest
i need help with a trigger code i need a code that gives you gold every 25 secs and monster that can increase it by 10
12-06-2004, 02:09 AM#2
JetPack
A trigger that would give you 1 gold every 25 seconds would look something like this:
Code:
events: Every 25 seconds
conditions:
actions: Modify player red's gold to (current gold+1)
I believe its something like that, but I don't have worldeditor open. I'm sort of confused what you mean by the second part though. If you meant that the player controlled a monster than it would be something like this:
Code:
events: Every 25 seconds
conditions:
actions: if player red controls a monster
then, modify player red's gold to (current gold+11)
else, modify player red's gold to (current gold+1)
I'll double check soon too get an exact wording on each trigger but its something like that. Please next time be more descriptive with your requests.