ID:159181
 
Applicable Configuration:
BYOND Version: 440.1018
Operating System: Windows XP Home
Web Browser: Mozilla Firefox
Game/Hub(s): hub://
Video Card (for graphics bugs):

Descriptive Problem Summary:
Rintai.dm:150:error: bad argument definition
mob/Stat() is line 150
Numbered Steps to Reproduce Problem:
1. I added turf/hell
2. Rintai.dm:150:error: bad argument definition
Code Snippet (if applicable) to Reproduce Problem:
area
dark
luminosity = 0
hell
src.Move(locate(/turf/Hell))

mob/Stat()
stat("Name: [usr]")
stat("Health",life)
stat("Strength", usr.strength)
stat("Defence", usr.defence)
stat("CPU Usage","[world.cpu]")
stat("Server Up Time", "A long time")
statpanel("Inventory",usr.contents)


Expected Results:
Everything would flow together and give me a teleporter to hell.
Actual Results:
bad argument
Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
On other computers? Yes
In other user accounts? Yes

When does the problem NOT occur?
when turf/hell is removed
Workarounds: ???

hell is not a proc nor a verb.
therefore you cannot put any lines of code other then to define a proc, variables or verbs.
area
hell
proc
flood()
src.Move(locate(/turf/Hell))


k
In response to Super Saiyan X
i redid my code to fit what you showed me, but now src.Move is an 'undefined proc'
In response to Magicmann
Magicmann wrote:
i redid my code to fit what you showed me, but now src.Move is an 'undefined proc'

That's because Move() only belongs to movable atoms (mobs, objs)! You'll have to look up Entered() in the reference. (hint: Entered(mob/m))
In response to Slime Lord
well thats weird because i only plan on moving players
In response to Magicmann
area/hell/Entered(atom/movable/A)
A.Move(locate(/turf/hell))


You should also read this.
XD
In response to Kaiochao
Kaiochao wrote:
XD
Constructive.
In response to ANiChowy
i've read that, but stuff i read doesn't stick. *looks for super glue*