10-15-2005, 05:50 PM
|
Registered User
|
|
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
|
|
setlevel2 help
New question: I have tried for hours to get a very simple thing to work:
when you enter a level, your y is set to 0 and is increased through a timeout.
this part works fine.
What I can't get to work is when the playery is greater than 55 it warps the player to another level.
Since the timeout and playery manipulation is clientside,
and setlevel2 is serverside, I need a triggeraction, right?
I have tried to no avail:
-putting the whole script as a serverside event
-doing a triggeraction in the npc that is in the level on the npc's x and y, and above the clientside line in the npc, placing the actionserverside and setlevel commands
-leaving the triggeraction in the npc in the level but moving the action part into a weapon npc with a unique action name
-moving the entire script into the weapon npc and the level adds the weapon npc when you enter the level
-adding a warp box at the bottom of the level
-changing the addweapon npc to do onPlayerenters and onCreated to sleep 12 seconds then setlevels
-putting that same sleep 12 seconds and setlevel2 into the level in an npc
nothing works!!! the player goes from the top to the bottom of the level (y increases) but it will not warp the player - the triggeraction never gets to the serverside command regardless of where the setlevel2 command is.
please help! |
|
|