Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about scripting
mccrazy5 Offline
Junior Member

Posts: 11
Threads: 4
Joined: Jun 2012
Reputation: 0
#6
RE: about scripting

(06-09-2012, 06:54 PM)Putmalk Wrote:
(06-09-2012, 06:44 PM)Science Wrote: SetSwingDoorLocked(asEntity, false, true);


RemoveItem(asItem);

Declare these first.
They're already declared.

Double check your naming and removing all cache files for your map.

Other than that, I'll inspect closely later.

Quote:Alright, i added quotations to mansion1 . now the game dont crash but the key doesnt open the door.
hmm ?

Be more specific. Is it saying "Cannot use item in this way!" or just fails to open it?
Alright i removed the cache file from my map, and ii tried again.
it says "Cannot use item in this way!"

and i checked the names everything is match.

Edit: alright i found the problem ... in the script i used the name that i typed the key on the entity.. but i had to type in the script the name i just called it on general.. thanks guys for your help i fixed it Smile
(This post was last modified: 06-09-2012, 07:21 PM by mccrazy5.)
06-09-2012, 07:12 PM
Find


Messages In This Thread
about scripting - by mccrazy5 - 06-09-2012, 05:56 PM
RE: about scripting - by Putmalk - 06-09-2012, 06:05 PM
RE: about scripting - by mccrazy5 - 06-09-2012, 06:36 PM
RE: about scripting - by Science - 06-09-2012, 06:44 PM
RE: about scripting - by Putmalk - 06-09-2012, 06:54 PM
RE: about scripting - by mccrazy5 - 06-09-2012, 07:12 PM



Users browsing this thread: 1 Guest(s)