![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]()
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? |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 7th June 2025 - 07:30 AM |