| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Jan 7 2005, 06:10 PM
Post
#1
|
|
|
Eminence Grise Machiavelic ![]() Mod Developer Posts: 244 Joined: 12-November 04 From: Monthléry |
Here what I want: make a container invisible for everybody unless a thief (or a character with the detect traps skill) detect a special trap. Detecting invisible container should reward XP. I have a container named "Cont01" and a trap "Traps01". i decided to code that in the area script (AREATEST) Here it is: QUOTE IF True() THEN RESPONSE #100 ContainerEnable("Cont01",0) END IF Detected("Traps01") THEN RESPONSE #100 RemoveTraps("Traps01") ContainerEnable("Cont01",1) DisplayStringHead("Cont01",XXXXX)//You have detected a secret container! AddexperienceParty(YYY) DisplayString((),ZZZZZ)//You win YYY XP END Is it correct? |
|
|
|
![]() |
Jan 7 2005, 10:00 PM
Post
#2
|
|
|
Eminence Grise Machiavelic ![]() Mod Developer Posts: 244 Joined: 12-November 04 From: Monthléry |
okay, I understand,
And for the DisplayStringHead, I think I will display on "LastTrigger" instead Thanks!!! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 3rd November 2025 - 07:03 AM |