The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
type in function
Author Message
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #6
RE: type in function
okay, its not a problem.
1. its typedef:
Code:
[typedef t_wall]
on=@timer
if (<p.z> < <morez>)
m=0,0,1
timerd={1 3}
endif
return 1

2.
Code:
[function f_test]
newnpc=c_dragon
new.p=<p>  
new.m=0,1,-20
new.events +
new.timerd=1

It's for npc's - they growing from the earth more slowly (from the one of the topic's from spherecommunity.net)
Give me some second hand please, tell me how to create from typedef t_wall event for the npc's ?
(This post was last modified: 10-29-2013 12:48 AM by seafish.)
10-29-2013 12:48 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
type in function - seafish - 10-28-2013, 11:44 PM
RE: type in function - XuN - 10-29-2013, 12:10 AM
RE: type in function - seafish - 10-29-2013, 12:28 AM
RE: type in function - XuN - 10-29-2013, 12:37 AM
RE: type in function - Mordaunt - 10-29-2013, 12:38 AM
RE: type in function - seafish - 10-29-2013 12:48 AM
RE: type in function - XuN - 10-29-2013, 12:55 AM
RE: type in function - seafish - 10-29-2013, 01:26 AM
RE: type in function - XuN - 10-29-2013, 03:13 AM
RE: type in function - seafish - 10-29-2013, 04:53 AM
RE: type in function - XuN - 10-29-2013, 06:22 AM
RE: type in function - seafish - 10-29-2013, 11:04 AM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)